//
//  SelectParameterViewCell.m
//  ForestPack
//
//  Created by 骆锴 on 2018/7/24.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import "SelectParameterViewCell.h"
@interface SelectParameterViewCell ()

@property (nonatomic, strong)UILabel *title;
@property (nonatomic, strong)UILabel *parameter;

@end

@implementation SelectParameterViewCell

+ (SelectParameterViewCell *)cellWithTableView:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath{
    static NSString *cellID = @"TitleInformationCell";
    SelectParameterViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID];
    if (cell == nil) {
        cell = [[SelectParameterViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellID];
        cell.backgroundColor = [UIColor whiteColor];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        [cell createSubView];
    }
    
    return cell;
}

-(void)createSubView{
    _title = [[UILabel alloc] initWithFrame:CGRectMake(ScreenX375(13), ScreenX375(15), ScreenX375(80), ScreenX375(14))];
    _title.text = @"选择箱型:";
    _title.font = Kfont(14);
    _title.textColor = REXADECIMALCOLOR(@"#333333");
    _title.textAlignment = NSTextAlignmentLeft;
    [self addSubview:_title];
}

-(void)setTitletext:(NSString *)titletext{
    _title.text = titletext;
}

@end
